import 'package:flutter/material.dart';
import 'package:flutterlib/common/constants/constants.dart';
import 'package:flutterlib/common/utils/navigator_utils.dart';

class MyBackButton extends StatelessWidget {

  final Color color;


  MyBackButton({this.color : QuhuiColors.primaryDarkValue});

  @override
  Widget build(BuildContext context) {
    return BackButton(color: color,
      onPressed: () => NavigatorUtils.ThrioNavigatorPop(),
    );
  }
}
